<style>
.hint-content .hint-text label{width:120px;}
div.k-window-content{overflow:hidden;}
</style>
<article id="merchant_edit_frame">
    <div class="hint-content" style="height:500px">
        <input type="hidden" data-bind="value:id" />
        <div class="layerTitle">
            <span>商户基本信息：</span>
        </div>
        <div class="hint-text">
            <label>商户名称：</label>
            <input type="text" class="k-textbox" validationMessage="商户名称必填且不能包含特殊字符"  required pattern="^[\u4e00-\u9fa5A-Za-z0-9-_]*$" data-bind="value:merchantName" />
        </div>
        <div class="hint-text">
            <label>商户类型：</label>
            <input type="text" id="merchantType" data-bind="value:merchantType" />
        </div>
        <div class="hint-text">
            <label>商户法人：</label>
            <input type="text" class="k-textbox" data-bind="value:merchantCorporation" />
        </div>
        <div class="hint-text">
            <label>工商证件号：</label>
            <input type="text" class="k-textbox" data-bind="value:merchantCertificateNo" />
        </div>
        <div class="hint-text">
            <label>商户座机：</label>
            <input type="text" class="k-textbox" data-bind="value:merchantTel" />
        </div>
        <div class="hint-text">
            <label>商户所在地：</label>
            <input type="text" class="k-textbox" data-bind="value:merchantAddress" />
        </div>
        <div class="hint-text">
            <label>信誉等级：</label>
            <input type="text" class="k-textbox" data-bind="value:merchantReputationLevel" />
        </div>
        <div class="hint-text">
            <label>商户性质：</label>
            <input type="text" id="merchantNature" data-bind="value:merchantNature" />
        </div>
        <div class="layerTitle">
            <span>商户登录账号：</span>
        </div>
        <div class="hint-text">
            <label>是否独立登录：</label>
	        <label style="width:85px;"><input type="radio" id="indLogin-yes" name="indLogin" value="1" />是</label>
	        <label style="width:85px;"><input type="radio" id="indLogin-no" name="indLogin" value="0" checked />否</label>
        </div>
        <br />
	    <div class="hint-text">
		    <label>登录账号：</label>
		    <input type="text" class="k-textbox" id="loginAdmin" data-bind="value:loginAdmin" disabled />
	    </div>
	    <div class="hint-text">
		    <label>登录密码：</label>
		    <input type="password" class="k-textbox" id="loginPassword" data-bind="value:loginPassword" disabled />
	    </div>

        <div class="layerTitle">
            <span>商户派联系人信息：</span>
        </div>
        <div class="hint-text">
            <label>联系人：</label>
            <input type="text" class="k-textbox" validationMessage="联系人必填且不能包含特殊字符"  required pattern="^[\u4e00-\u9fa5A-Za-z0-9-_]*$" data-bind="value:merchantContacts" />
        </div>
        <div class="hint-text">
            <label>联系人电话：</label>
            <input type="text" class="k-textbox" validationMessage="联系人电话必填且不能包含非数字"  required pattern="^[0-9]*$" data-bind="value:merchantPhone" />
        </div>
        <div class="hint-text">
            <label>联系人身份证：</label>
            <input type="text" class="k-textbox" data-bind="value:merchantIdCard" />
        </div>
        <div class="hint-text">
            <label>合作状态：</label>
            <input type="text" id="merchantEnable" data-bind="value:merchantEnable" />
        </div>
        <!--<div class="layerTitle">-->
            <!--<span>缴纳保证金数额：</span>-->
        <!--</div>-->
        <!--<div class="hint-text">-->
            <!--<label>是否缴纳保证金：</label>-->
            <!--<input type="text" class="k-textbox" data-bind="value:merchantIsBond" />-->
        <!--</div>-->
        <!--<div class="hint-text">-->
            <!--<label>保证金数额：</label>-->
            <!--<input type="text" class="k-textbox" data-bind="value:merchantBond" />-->
        <!--</div>-->
        
    </div>
    <div class="basicInfo-btn">
        <button class="save" data-bind="click:save_info">保存</button>
        <button class="cancel" data-bind="click:cancel">关闭</button>
    </div>
</article>
<script>
    var merchantEdit = new MerchantEdit($('#merchant_edit_frame'));
</script>